package br.com.inovati.linkers.services.impl;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import br.com.inovati.linkers.entity.Paises;
import br.com.inovati.linkers.services.PaisServiceRemote;

@Stateless
public class PaisServiceImpl implements PaisServiceRemote {

	@PersistenceContext(unitName = "linkers")
	private EntityManager em;

	@Override
	public Paises inserir(Paises pais) {
		em.persist(pais);
		return pais;
	}
}
